// pages/retainedpro/retainedpro.js
const app = getApp();
Page({
  /**
   * 页面的初始数据
   */
  data: {
    statusBarHeight: app.globalData.statusBarHeight,
    fullHeight: app.globalData.fullcontain,
    navmess:{
      navtitle: "留用产品",
      backhide: 0,
      topheight: 1
    },
    retainedlist: [
      {
        "orderProductId": 1,
        "productName": "丹盛Dance2020(日产)",
        "productNo": "M0034",
        "orderNo": "D099343443",
        "originalPrice": 388.03,
        "payAmt": null,
        "remainingQuantity": null,
        "hasLimit": 1,
        "hasLimitValue": "有",
        "noSaleStores": "2",
        "useGive": 0,
        "useGiveValue": "否"
      },
      {
        "orderProductId": 2,
        "productName": "a",
        "productNo": "1",
        "orderNo": "1111",
        "originalPrice": 100,
        "payAmt": null,
        "remainingQuantity": null,
        "hasLimit": 1,
        "hasLimitValue": "有",
        "noSaleStores": "2",
        "useGive": 0,
        "useGiveValue": "否"
      }
    ]
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {

  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady: function () {

  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow: function () {

  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide: function () {

  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload: function () {

  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh: function () {

  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom: function () {

  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage: function () {

  }
})